<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>Hello</title>
</head>
<body>
    <h1>基本对象</h1>
    <p th:text="${#request.getAttribute('test')}"></p>
    <p th:text="${test}"></p>
    <p th:text="${session.test}"></p>
    <h1>Utility对象</h1>
    <p th:text="${#dates.format(date,'yyyy-MM-dd HH:mm:ss)')}">2019-11-27</p>
    <p th:text="${#dates.createToday()}">2019-11-27</p>

</body>
</html>
